package casa.depesos.app.com.http.req;


import java.util.Map;

import casa.depesos.app.com.http.HttpReq;
import casa.depesos.app.com.http.ReqCallback;
import casa.depesos.app.com.http.bean.ProgressBean;
import casa.depesos.app.com.http.parser.ProgressParser;
import casa.depesos.app.com.utils.Constant;

public class ProgressReq implements HttpReq<ProgressBean> {
    @Override
    public void req(ReqCallback<ProgressBean> callback) {// /app/cust/queryProgress
        req("/app/progress/fetchProcessStatus", new ProgressParser(), callback);
    }

    @Override
    public Map getBody() {
        Map map = HttpReq.super.getBody();
        map.put("prodtID", Constant.PRODUCT_ID);
        return map;
    }
}
